import request from '@/server/request';

export function getJobProject(data) {
  return request({
    url: 'jobProject/queryByPage',
    method: 'post',
    data
  });
}

export function updateJobProject(data) {
  return request({
    url: 'jobProject/update',
    method: 'post',
    data
  });
}
export function createJobProject(data) {
  return request({
    url: 'jobProject/create',
    method: 'post',
    data
  });
}

export function deleteJobProject(data) {
  return request({
    url: 'jobProject/delete',
    method: 'post',
    data
  });
}

export function queryByIdJobProject(params) {
  return request({
    url: 'jobInfo/queryByProjectId',
    method: 'get',
    params
  });
}
